#include "matrixManagement.h"

//! \brief Match a position in a list of positions
//!
//! \param table A list of positions
//! \param sz The size of the list
//! \param li The lign to match
//! \param col The column to match
//! \return
//!
bool posMatch(Pos* table, Uint16 sz, Uint16 li, Uint16 col)
{
    int i;
    for(i=0;i<sz;i++)
    {
        if(table[i].lign == li and table[i].column == col) return true;
    }
    return false;
}

